CmDocumentExternalMap 
EntityType  Independent 
Logical Entity Name  CmDocumentExternalMap 
Default Table Name  CmDocumentExternalMap 
Logical Only  NO 
Definition 
 
Note 
 

CmDocumentExternalMap Attributes 
Attribute/Logical Rolename  Domain  Datatype  NULL  Definition 
CmDocumentExternalMapID(PK)    INTEGER  NO 
 
DocumentId(FK)    INTEGER  NO 
 
CrmId    VARCHAR(50)  YES 
 
DateAdded    DATETIME  NO 
 
DateLstMod    DATETIME  NO 
 
UserID(FK)    INTEGER  NO 
 
ts    TIMESTAMP/DATE  NO 
 

CmDocumentExternalMap Keys 
Key Name  Key Type  Keys 
PK_CmDocumentExternalMap_CmDocumentExternalMapID  PrimaryKey  CmDocumentExternalMapID 
Nk_CmDocumentExternalMap_UserId  Inversion Entry  UserID 
Nk_CmDocumentExternalMap_CmDocumentId  Inversion Entry  DocumentId 

CmDocumentExternalMap Relationships 
Parent Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype 
Document  Non-Identifying  One To Zero or More        DocumentId  NO 
Staff  Non-Identifying  One To Zero or More        UserID  NO 
Child Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype 

CmDocumentExternalMap Check Constraints 
Check Constraint Name  CheckConstraint